/*
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2023-01-04 09:45:21
 * @LastEditors: 朱安武 549410045@qq.com
 * @LastEditTime: 2023-01-06 15:02:10
 * @FilePath: \elementUi\src\stores\admin-store.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineStore } from 'pinia'

export const useAdminStore = defineStore('admin-store',{
    state(){
        return{
            adminname:localStorage.getItem('adminname') || ''
        }
    },
    getters:{

    },
    actions:{
        setAdminStore(adminname){
            this.adminname = adminname
        }
    }
})

export const aisdeList = [
    '系统首页',
    '轮播图',
    '富文本编辑器',
    '用户图表'
]